<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/global/area" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.areaConfig}</h1>
    </div>

    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width: 10px">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="">{$Think.lang.areaID}</th>
              <th style="">{$Think.lang.areaName}</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="area">
              <tr data-id="{$vo.area_id}">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$vo.area_id}</td>
                <td><a href="javascript:;" class="A_sub">{$vo.title}</a>
                </td>
                <td><a href="{:URL('admin/Global/editArea',array('area_id'=>$vo['area_id'],'pid'=>$vo['pid']))}">{$Think.lang.editor}</a>|
                  <a href="javascript:;" class="A_del">{$Think.lang.delete}</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>

      <div class="datas-ft">
        <div class="actions">
          <a href="{:URL('admin/Global/addArea')}" class="btn">{$Think.lang.add}</a>
          <a href="javascript:;" class="btn" id="J_del">{$Think.lang.delete}</a>
          <php>if($pid!="") {</php>
          <a href="{:URL('admin/Global/doQryArea',array('pid'=>$pid))}" class="btn">{$Think.lang.return}</a>
          <php>}</php>
        </div>
      </div>
    </div>

  </div>
</body>

</html>
